<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
  <title>行程修改</title>

  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="__INDEX__/css/bootstrap.min.css">

  <!-- Fontawesome CSS -->
  <link rel="stylesheet" href="__INDEX__/plugins/fontawesome/css/fontawesome.min.css">
  <link rel="stylesheet" href="__INDEX__/plugins/fontawesome/css/all.min.css">

  <!-- calendar CSS -->
  <link rel="stylesheet" href="__INDEX__/plugins/simple-calendar/simple-calendar.css">

  <!-- Feathericon CSS -->
  <link rel="stylesheet" href="__INDEX__/css/feather.css">

  <!-- Main CSS -->
  <link rel="stylesheet" href="__INDEX__/css/style.css">
</head>
<body>
<!-- Main Wrapper -->
<div class="main-wrapper">
  <!-- Header -->
  {include file="Include/top"}
  <!-- /Header -->

  <!-- Sidebar -->
  {include file="Include/left"}
  <!-- /Sidebar -->
  <!-- Page Wrapper -->
  <div class="page-wrapper">
    <div class="content container-fluid">
      <div class="row">
        <div class="col-lg-12">
          <div class="card">
            <div class="card-header">
              <h5 class="card-title">行程信息修改</h5>
            </div>
            <div class="card-body">
              <form action="/admin.php/travelroute/edit" method="post">
                <input type="hidden" name="id" value="{$list.id}">
                <div class="form-group row">
                  <label class="col-form-label col-md-1">行程团号</label>
                  <div class="col-md-10">
                    <input type="text" name="groupNum" value="{$list.groupNum}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">行程名称</label>
                  <div class="col-md-10">
                    <input type="text" name="travelroute" value="{$list.travelroute}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">出团日期</label>
                  <div class="col-md-10">
                    <input type="date" name="datetime" value="{$list.datetime|date='Y-m-d'}" class="form-control"  min="{$list.datetime}-60*60*24*365">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">接车地址</label>
                  <div class="col-md-10">
                    <input type="text" name="address" value="{$list.address}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">客源国家</label>
                  <div class="col-md-10">
                    <input type="text" name="country" value="{$list.country}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">团队人数</label>
                  <div class="col-md-10">
                    <input type="text" name="teamsNum" value="{$list.teamsNum}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">成年人数</label>
                  <div class="col-md-10">
                    <input type="text" name="adultsNum" value="{$list.adultsNum}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">未成年人数</label>
                  <div class="col-md-10">
                    <input type="text" name="minorsNum" value="{$list.minorsNum}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">团队类型</label>
                  <div class="col-md-10">
                    <input type="text" name="teamtype" value="{$list.teamtype}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">是否为学生团队</label>
                  <div class="col-md-10">
                    <input type="text" name="studenteamtype" value="{$list.studenteamtype}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">汽车公司</label>
                  <div class="col-md-10">
                    <input type="text" name="carCompany" value="{$list.carCompany}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">车牌号</label>
                  <div class="col-md-10">
                    <input type="text" name="carNum" value="{$list.carNum}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">用车需求</label>
                  <div class="col-md-10">
                    <input type="text" name="YNcar" value="{$list.YNcar}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">是否汽车公司提供</label>
                  <div class="col-md-10">
                    <input type="text" name="needcar" value="{$list.needcar}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">司机姓名</label>
                  <div class="col-md-10">
                    <input type="text" name="sjname" value="{$list.sjname}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">司机电话</label>
                  <div class="col-md-10">
                    <input type="text" name="sjiphone" value="{$list.sjiphone}" class="form-control">
                  </div>
                </div>
                <div class="form-group row">
                  <label class="col-form-label col-md-1">司机从业资格证号</label>
                  <div class="col-md-10">
                    <input type="text" name="sjzhengjian" value="{$list.sjzhengjian}" class="form-control">
                  </div>
                </div>
                <div class="input-group-append" style="margin-left: 85%;">
                  <button class="btn btn-primary" type="submit">提交</button>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>

    </div>
  </div>
</div>
<!-- /Page Wrapper -->

<!-- Notification -->
<!-- /Notification -->
</div>
<!-- /Main Wrapper -->

<!-- jQuery -->
<script src="__INDEX__/js/jquery-3.6.0.min.js"></script>

<!-- Bootstrap Core JS -->
<script src="__INDEX__/js/bootstrap.bundle.min.js"></script>

<!-- Slimscroll JS -->
<script src="__INDEX__/plugins/slimscroll/jquery.slimscroll.min.js"></script>

<!-- Chart JS -->
<script src="__INDEX__/plugins/apexchart/apexcharts.min.js"></script>
<script src="__INDEX__/plugins/apexchart/dsh-apaxcharts.js"></script>

<!-- calendar Js -->
<script src="__INDEX__/plugins/simple-calendar/jquery.simple-calendar.js"></script>
<script src="__INDEX__/js/calander.js"></script>

<!-- Custom JS -->
<script  src="__INDEX__/js/script.js"></script>
</body>
</html>
